package ${project.basePkg}.${model.module}.vo;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import top.szhome.framework.core.tools.annotation.db.Where;
import top.szhome.framework.core.tools.constant.Condition;

<#list imports as import>
import ${import};
</#list>
import java.util.List;
import java.io.Serializable;

/**
 * ${model.name}视图数据对象
 *
 * @author ${model.author}
 * @date ${.now?date?string["yyyy/MM/dd"]}
 */
@Data
@Schema(description = "${model.name}传输对象")
public class ${model.code}VO implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    <#list properties as property>
    <#if property.fieldName != 'deleted' >
    /**
     * ${property.fieldLabel}
     */
    <#-- OpenAPI接口文档注解 -->
    @Schema(description = "${property.fieldLabel!''}"<#if (property.fieldExample)?has_content>, example = "${property.fieldExample}"</#if><#if property.validateLengthMin gt 0>, minLength = ${property.validateLengthMin}</#if><#if property.validateLengthMax gt 0>, maxLength = ${property.validateLengthMax}</#if>)
    private ${property.fieldType} ${property.fieldName};

    </#if>
    </#list>
}